package com.sljy.hzk.util;

import android.util.Log;

public class EventTest {
    private  void Init(){
        //事件注册测试
        //不要用this.getClass()
        EventListenerManager.Instance().addEventLisener(this,"testEvent",1);
    }
    public void testEvent(Integer id){
        Log.i("事件发送成功",id+"");
        // return id;
    }
    public  void Send(){
        try {
            EventListenerManager.Instance().sendEvent("testEvent", 20);
        }catch (Exception e){
            Log.i("注册测试异常",e.toString());
        }
    }
}
